﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Exdot
{
    public partial class INTN_TuyChon : Form
    {
        public INTN_TuyChon()
        {
            InitializeComponent();
        }
        public string Button
        {
            set { textBox1.Text = value; }
        }
        private void INTN_TuyChon_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'DataSet3.ThuNhap' table. You can move, or remove it, as needed.
            //this.ThuNhapTableAdapter.Fill(this.DataSet3.ThuNhap);

            //this.reportViewer1.RefreshReport();
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            this.ThuNhapTableAdapter.Fill(this.DataSet3.ThuNhap,int.Parse(textBox1.Text));

            this.reportViewer1.RefreshReport();
        }

       
    }
}
